package com.ruoyix.aicode.domain;

import lombok.Data;

/**
 * 代码生成请求实体类
 */
@Data
public class CodeGenerationRequest {
    private String requirements;
    private boolean useGlobalContext = true;
    private PageStyleRequest pageStyle;
    private String codeType = "html"; // html or vue

    public String getRequirements() {
        return requirements;
    }

    public void setRequirements(String requirements) {
        this.requirements = requirements;
    }

    public boolean isUseGlobalContext() {
        return useGlobalContext;
    }

    public void setUseGlobalContext(boolean useGlobalContext) {
        this.useGlobalContext = useGlobalContext;
    }

    public PageStyleRequest getPageStyle() {
        return pageStyle;
    }

    public void setPageStyle(PageStyleRequest pageStyle) {
        this.pageStyle = pageStyle;
    }

    public String getCodeType() {
        return codeType;
    }

    public void setCodeType(String codeType) {
        this.codeType = codeType;
    }
}
